#ifndef _OLED_H
#define _OLED_H
#include "stm32f4xx.h"
#include "sys.h"
//#include "include.h"
//#include "type.h"


typedef unsigned char uint8;
typedef unsigned int uint16;
typedef unsigned char byte;
typedef unsigned int word;
  extern uint8 longqiu96x64[768];
 void LCD_Init(void);
 void LCD_CLS(void);
 void LCD_P6x8Str(uint8 x,uint8 y,uint8 ch[]);
 void LCD_P8x16Str(uint8 x,uint8 y,uint8 ch[]);
 void INV_LCD_P6x8Str(unsigned char x,unsigned char y,char ch[]);
 void INV_LCD_P8x16Str(unsigned char x,unsigned char y,char ch[]);
 void LCD_P14x16Str(uint8 x,uint8 y,uint8 ch[]);
 void LCD_Print(uint8 x, uint8 y, uint8 ch[]);
 void LCD_PutPixel(uint8 x,uint8 y);
 void LCD_Rectangle(uint8 x1,uint8 y1,uint8 x2,uint8 y2,uint8 gif);
 void Draw_LQLogo(void);
 void Draw_LibLogo(void);
 void Draw_BMP(uint8 x0,uint8 y0,uint8 x1,uint8 y1,uint8 bmp[]); 
 void LCD_Fill(uint8 dat);
 void LCD_DLY_ms(uint16 ms);
 void LED_PrintImage(unsigned char *pucTable, unsigned int usRowNum, unsigned int usColumnNum);
 void LCD_write_char(unsigned char c);
void LCD_write_1_num(unsigned char X,unsigned char Y,signed int s);
void LCD_write_2_num(unsigned char X,unsigned char Y,signed int s);
void LCD_write_3_num(unsigned char X,unsigned char Y,signed int s);
void LCD_write_4_num(unsigned char X,unsigned char Y,signed int s);
void LCD_write_5_num(unsigned char X,unsigned char Y,signed long s);
void LCD_write_6_num(unsigned char X,unsigned char Y,signed long s);
void LCD_write_7_num(unsigned char X,unsigned char Y,signed long s);
void LCD_write_double1_2(unsigned char X,unsigned char Y,double s);
void LCD_write_double1_3(unsigned char X,unsigned char Y,double s);
void LCD_write_double2_2(unsigned char X,unsigned char Y,double s);
void LCD_write_double3_2(unsigned char X,unsigned char Y,double s);
void LCD_write_double1_4(unsigned char X,unsigned char Y,double s);
// void level2_modef5(u8 link);
#endif

